﻿using System;

using Ninject.Core;
using Ninject.Core.Parameters;

using BlueSky.Web;
using BlueSky.Web.Extentions;

namespace BlueSky.Web
{
    ///// <summary>
    ///// Ninjeced controller.
    ///// </summary>
    ///// <typeparam name="TControllerService">Type of service class.</typeparam>
    //public class NinjectController<TControllerService> : ControllerBase<TControllerService>
    //    where TControllerService : IControllerService
    //{
    //    /// <summary>
    //    /// Service class.
    //    /// </summary>
    //    public override TControllerService Service
    //    {
    //        get
    //        {
    //            return NinjectKernelContainer.Kernel.Get<TControllerService>
    //            (
    //                With.Parameters.ByController(Name)
    //            );
    //        }
    //    }
    //}
}
